package nevo.core;

import java.util.List;
import java.util.Map;

public abstract class BaseOptimizer implements Optimizer
{   
   public abstract List<IRecord> getCurrentEstimates() throws Exception;
   public abstract IRecord iterate(IRecord previrec) throws Exception;
   public abstract void setInitialGuesses(List<Map<String, Object>> params) throws Exception;
   
   protected Model model;
   public Model getModel() { return model; }
   public void setModel(Model m) { model = m; }

   protected ObjectiveFunction func;
   public ObjectiveFunction getObjectiveFunction() { return func; }
   public void setObjectiveFunction(ObjectiveFunction f) { func = f; }
}
